<%@ page import="com.zx.mobile.domain.MobileUserDomain"%>
<%@ page import="com.zx.mobile.SessionHelper"%>
<!doctype html>
<%@ page contentType="text/html;charset=utf-8" pageEncoding="utf-8"
	language="java"%>
<%@ include file="/jsp/mobile/include/include.jsp"%>
<html lang="cn">
<head>
<%@ include file="/jsp/mobile/include/header.jsp"%>
<title>信用卡还款</title>
</head>
<body class="nobg">
	<div class="main">
		<div class="tBlo mt15">
			<ul>
				            <input type="hidden" id="notifyDate" name="notifyDate" value="${model.notifyDate}"/>
				<input type="hidden" id="cardNo" name="cardNo" value="${model.cardNo}"/>
				<input type="hidden" id="paycardId" name="paycardId" value="${model.paycardId}"/>
				<common:getDicListByKey var="supportList" key="2200" />
				<c:forEach var="support" items="${supportList}">
					<li
						onclick="dealSelect('<c:out value="${support.dirValue}"/>','<c:out value="${support.dirCaption}"/>');">
						<span class="ti">
							<%--<img--%>
							<%--src="<%=request.getContextPath()%>/images/mobile/${support.dirValue}.png"--%>
							<%--class="mr10" align="absmiddle"> --%>
							<c:out
								value="${support.dirCaption}" /> </span> <i class="ico ico16"></i></li>
				</c:forEach>
			</ul>
		</div>
	</div>
	<script type="text/javascript">
	function dealSelect(_bankNo,_bankName)
	{
	     //edit by wenjw 2016.1.29支持修改页面
	     var _paycardId = $("#paycardId").val();
	     if(_paycardId == ''){
	        window.location.href = "<%=request.getContextPath()%>/mobile/index/addCreditCardPre?bankCode=" + _bankNo + "&bankName=" +_bankName+"&notifyDate="+$("#notifyDate").val()+"&cardNo="+$("#cardNo").val();
	     }else{
	        window.location.href = "<%=request.getContextPath()%>/mobile/index/manageCreditCard?bankCode=" + _bankNo + "&bankName=" +_bankName+"&notifyDate="+$("#notifyDate").val()+"&cardNo="+$("#cardNo").val()+"&paycardId=" + _paycardId;
	     }
	}
</script>
</body>
</html>